//
//  HMPictureCell.swift
//  WeiboTT
//
//  Created by 王嘉涛 on 2016/11/17.
//  Copyright © 2016年 王嘉涛. All rights reserved.
//

import UIKit

class HMPictureCell: UICollectionViewCell {

    @IBOutlet weak var imageView: UIImageView!
    
    var pictureInfo: HMPictureInfo? {
        didSet {
            //设置url
            let url = URL(string: pictureInfo?.thumbnail_pic ?? "")
            imageView.sd_setImage(with: url)
        }
    }

    override func awakeFromNib() {
        super.awakeFromNib()
        
        
    }

}
